﻿using System;
namespace JCode.Model
{
    /// <summary>
    /// 实体类CodeInfo 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    public class CodeInfo
    {
        public CodeInfo()
        { }
        #region Model
        private int _codeid;
        private int? _categoryid;
        private string _title;
        private string _keys;
        private string _content;
        private DateTime? _datecreated;
        private DateTime? _dateupdate;
        /// <summary>
        /// 主键
        /// </summary>
        public int CodeID
        {
            set { _codeid = value; }
            get { return _codeid; }
        }
        /// <summary>
        /// 分类编号
        /// </summary>
        public int? CategoryID
        {
            set { _categoryid = value; }
            get { return _categoryid; }
        }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title
        {
            set { _title = value; }
            get { return _title; }
        }
  
        /// <summary>
        /// 关键字
        /// </summary>
        public string Keys
        {
            set { _keys = value; }
            get { return _keys; }
        }
        /// <summary>
        /// 内容
        /// </summary>
        public string Content
        {
            set { _content = value; }
            get { return _content; }
        }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? DateCreated
        {
            set { _datecreated = value; }
            get { return _datecreated; }
        }
        /// <summary>
        /// 更新日期
        /// </summary>
        public DateTime? DateUpdate
        {
            set { _dateupdate = value; }
            get { return _dateupdate; }
        }
        #endregion Model

    }
}

